<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@taglib prefix="s" uri="/struts-tags"%>


<html>
	<head>
		<s:head theme="ajax" />

		<title>userInput.jsp</title>
		<link rel="stylesheet" type="text/css" href="../css/counter.css">
		<meta http-equiv="pragma" content="no-cache">
		<meta http-equiv="cache-control" content="no-cache">
		<meta http-equiv="expires" content="0">
		<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
		<meta http-equiv="description" content="This is my page">

		<link rel="stylesheet" type="text/css" href="../css/css.css">
		<script type="text/javascript">
	function validateUser(){	
		if(document.getElementById('name').value==""){
	    alert("姓名不能为空");
		return false;
		}
	    if(document.getElementById('truename').value==""){
	    alert("真实姓名不能为空");
		return false;
		}
		
	  if(document.getElementById('lxdh').value==""||document.getElementById('yddh').value==""){
	    alert("电话或手机不能为空！");
		return false;
		}

	}
	</script>

	</head>

	<body>
		<br>
		<form method="post" action="modifyUserDo.action" onSubmit="return validateUser();" name="form1">
			<TABLE cellSpacing="0" cellPadding="0" width="100%" align="center"
				border="0">
				<TBODY>
					<TR>
						<TD>
							<IMG src="../images/manage/arron1.gif">
							<FONT class="font_lv">用户信息修改 </FONT>
						</TD>
					</TR>
				</TBODY>
			</TABLE>
			<table cellSpacing="1" cellPadding="1" width="100%" align="center"
				border="0">
				<tr>
					<td class=line>
						<table height="100%" cellSpacing=1 cellPadding=2 width="100%"
							bgcolor="#CCCCCC" border=0>
							<tr bgcolor="#FFFFFF">
								<td height="25" colspan="2" align="center"
									background="../images/manage/title_bg.jpg" class="font_12_B_w">
									用户修改
								</td>
								<td height="25" colspan="2"
									background="../images/manage/title_bg.jpg">
									注意
									<font color="red">*</font>表示必填项；英文和数字应为半角字符
								</td>



							</tr>

							<tr bgcolor="#FFFFFF">
								<td width="269" height="25">
									用户名								</td>
								<td width="478">
									<input type="text" Class="id_kuang"
										value="<s:property value="#session.logininfo.name"/>"
										id="name" name="logininfo.name">
							  </td>
								<td width="604" height="25">
									<font color="red">*</font>								</td>
							</tr>

							<tr bgcolor="#FFFFFF">
								<td height="29">
									真实姓名
								</td>
								<td>
									<input type="text" id="truename" class="id_kuang"
										value="<s:property value="#session.logininfo.truename"/>"
										name="logininfo.truename">
								</td>
								<td width="604" height="25">
									<font color="red">*</font>								</td>
							</tr>
							<s:set name="qxkw" value="#session.logininfo.qxkw"></s:set>
							<input type="hidden" name="logininfo.qxkw" value="${qxkw}" />
	
							<tr bgcolor="#FFFFFF">
								<td height="26">
									电话号码
								</td>
								<td>
									<input type="text" id="lxdh"
										value="<s:property value="#session.logininfo.lxdh"/>"
										class="id_kuang" name="logininfo.lxdh">
								</td>
								<td width="604" height="25">
									<font color="red">*</font>								</td>
							</tr>
							<tr bgcolor="#FFFFFF">
								<td height="24">
									手机
								</td>
								<td>
									<input type="text" id="yddh" class="id_kuang"
										value="<s:property value="#session.logininfo.yddh"/>"
										name="logininfo.yddh">
								</td>
								<td width="604" height="25">
									<font color="red">*</font>								</td>
							</tr>
							<tr bgcolor="#FFFFFF">
								<td height="27">
									电子邮件
								</td>
								<td>
									<input type="text" class="id_kuang" id="email"
										value="<s:property value="#session.logininfo.email"/>"
										name="logininfo.email">
								</td>
								<td width="604" height="25">&nbsp;</td>
							</tr>
							<tr bgcolor="#FFFFFF">
								<td height="33">&nbsp;
									
							  </td>
								<td>
									<input type="submit" name="Submit" class="btn1" value="提交">
									<input type="button" class="btn1" onClick="history.go(-1);"
										name="Submit2" value="取消">
								</td>
								<td width="604" height="25">&nbsp;								</td>
							</tr>
						</table>

					</td>

				</tr>
			</table>
		</form>
		<s:url id="smdUrl" namespace="/admin" action="findUser" />
	</body>


</html>
